package com.sinosoft.brokerchannel.base.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 响应头信息
 */
@ApiModel(value = "ResponseHead")
@Data
public class ResponseHead implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 请求类型
     **/
    private String requestType;
    /**
     * 响应类型
     **/
    @ApiModelProperty(value = "响应代码", example = "0", notes = "0 - 成功，2 - 失败")
    private String responseCode;
    /**
     * 错误代码
     **/
    @ApiModelProperty(value = "错误代码", example = "0000", notes = "0000 - 成功，其他 - 失败")
    private String errorCode;
    /**
     * 错误描述
     **/
    @ApiModelProperty(value = "错误描述", example = "成功")
    private String errorMessage;
    /**
     * ESB错误代码
     */
    private String esbCode;
    /**
     * ESB错误描述
     */
    private String esbMessage;
    /**
     * 数据签名
     **/
    private String signData;
}
